package com.wuyou.sso.domain.dto;

import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * LoginDTO
 *
 * @Date 2025/4/24 16:03
 * @Author 无忧
 */
@Data
public class UsernamePasswordLoginDTO extends LoginDTO implements Serializable {

    @NotEmpty(message = "用户名不能为空")
    private String username;

    @NotEmpty(message = "密码不能为空")
    private String password;

    private String randomStr;

    @NotEmpty(message = "验证码不能为空")
    private String captchaCode;
//
//    private String clientId;
//
//    private String clientSecret;

}
